package com.messe.base.models;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

public class Article implements Serializable{

	/**
	 * 文章
	 */
	private static final long serialVersionUID = -2109830565608362790L;
	private String id;
	private BrandAppendix brandAppendix;
	private String title;
	private String content;
	private String keyWord;
	private String signature;
	private Organization exhibitor;
	private String exhibitorName;
	private Integer type;//10 专栏 20 首页 30 KOL
	private String remark;
	/** 缩略图  */
	private String url;
	/**  */
	private Integer status;//0 默认（草稿箱） 10 待审核 20 通过 30 不通过
	/** 创建人 */
	private Person creator;
	/** 修改人 */
	private Person updater;
	/** 审核人  */
	private Person auditer;
	private Integer isPublish;//10 发布 // 20  撤销
	private Timestamp createdStamp;
	private Timestamp lastUpdatedStamp;
	private Timestamp auditedStamp;
	private Integer readingCount;
	private Integer clickCount;
	private Integer collectionCount;
	private SpecialColumn specialColumn;
	private Integer sortNum;
	
	public Integer getIsPublish() {
		return isPublish;
	}

	public void setIsPublish(Integer isPublish) {
		this.isPublish = isPublish;
	}

	private Set<ArticleCollection> articleCollection = new HashSet<ArticleCollection>(0);
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}

	public Person getCreator() {
		return creator;
	}

	public void setCreator(Person creator) {
		this.creator = creator;
	}

	public BrandAppendix getBrandAppendix() {
		return brandAppendix;
	}

	public void setBrandAppendix(BrandAppendix brandAppendix) {
		this.brandAppendix = brandAppendix;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Organization getExhibitor() {
		return exhibitor;
	}

	public void setExhibitor(Organization exhibitor) {
		this.exhibitor = exhibitor;
	}

	public String getExhibitorName() {
		return exhibitorName;
	}

	public void setExhibitorName(String exhibitorName) {
		this.exhibitorName = exhibitorName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Person getUpdater() {
		return updater;
	}

	public void setUpdater(Person updater) {
		this.updater = updater;
	}

	public Person getAuditer() {
		return auditer;
	}

	public void setAuditer(Person auditer) {
		this.auditer = auditer;
	}

	public Timestamp getCreatedStamp() {
		return createdStamp;
	}

	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}

	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}

	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}

	public Timestamp getAuditedStamp() {
		return auditedStamp;
	}

	public void setAuditedStamp(Timestamp auditedStamp) {
		this.auditedStamp = auditedStamp;
	}

	public Integer getReadingCount() {
		return readingCount;
	}

	public void setReadingCount(Integer readingCount) {
		this.readingCount = readingCount;
	}

	public Integer getClickCount() {
		return clickCount;
	}

	public void setClickCount(Integer clickCount) {
		this.clickCount = clickCount;
	}

	public Integer getCollectionCount() {
		return collectionCount;
	}

	public void setCollectionCount(Integer collectionCount) {
		this.collectionCount = collectionCount;
	}

	public SpecialColumn getSpecialColumn() {
		return specialColumn;
	}

	public void setSpecialColumn(SpecialColumn specialColumn) {
		this.specialColumn = specialColumn;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public Set<ArticleCollection> getArticleCollection() {
		return articleCollection;
	}

	public void setArticleCollection(Set<ArticleCollection> articleCollection) {
		this.articleCollection = articleCollection;
	}

}
